package com.sxpi.zixun.config.redis;

/**
 * @Author: 董伟豪
 * @Date: 2022/6/15 18:03
 */
public interface AdminRedisKeyManager {

    /**
     * 用户登录的token的key
     */
    String USER_LOGIN_TOKEN_KEY = "pug:user:login:token:";

    /**
     * 用户下线的token的key
     */
    String USER_LOGOUT_TOKEN_KEY = "pug:user:logout:";

    /**
     * header中token 接口校验使用
     */
    String TOKEN_NAME = "token";

    /**
     * header中userId
     */
    String TOKEN_USER_ID = "token-userid";

    /**
     * 指定token的id的key
     */
    String PUG_USER_ID = "pug_userid";

    /**
     * token的uuid
     */
    String TOKEN_UUID = "token-uuid";

    /**
     * 续期返回的新token的key
     */
    String RESPONSE_AUTH_TOKEN = "x-auth-token";

}
